package com.learning.spring.aop.auto.proxy.service;

/**
 * ClassName: AopServiceDelegate
 * Description: 业务委托接口
 * Date: 2019/4/21 15:35 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public class AopServiceDelegate {

    private AopService aopService;

    public void service() {
        // 调用两个方法
        aopService.add();
        aopService.update();
    }

    public void setAopService(AopService aopService) {
        this.aopService = aopService;
    }
}